package com.designpatterns.ProducerConsumer;

/**
 * Created by 41579 on 2017/6/8.
 */
public class Resource {
    private String name;

    public Resource(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString(){
        return this.getName();
    }
}
